<?

session_start($SID); $PAGE=NULL; $VAR_CONFIRM=1;
require ("../../protect/connect.php");
require ("../../include/cummonfunction.php");
$PAGE="<SCRIPT TYPE=\"text/javascript\" SRC=\"../../common_script.js\"></SCRIPT>";
                       echo $p;



SWITCH ($p){
       //DIVERS-----------------------------------------------------------------
       CASE 'inscription': REQUIRE("compte/inscription.php"); BREAK;
       //COMPTE USER------------------------------------------------------------
       CASE 'deconnexion': REQUIRE("compte/deconnexion.php"); BREAK;
       CASE 'test-option': REQUIRE("compte/chg_option.php"); BREAK;
       CASE 'chg_profil': REQUIRE("compte/chg_profil.php"); BREAK;
        
       //FORUM------------------------------------------------------------
       CASE 'send_mp': REQUIRE("forum/send_mp.php"); BREAK;
       CASE 'forum_style': REQUIRE("forum/style.php"); BREAK;
       CASE 'add_friend': REQUIRE("forum/add_friend.php"); BREAK;
       CASE 'send_conv': REQUIRE("forum/send_conv.php"); BREAK;
       //ADMIN------------------------------------------------------------------
       CASE 'chg_pdyna': REQUIRE("admin/chg_page_dyna.php"); BREAK;

      //AIDE------------------------------------------------------------------
      CASE 'aide_ajout_a': REQUIRE("aide/article_ajout.php"); BREAK;
      CASE 'aide_mod_a': REQUIRE("aide/article_mod.php"); BREAK;
      CASE 'aide_crea_m': REQUIRE("aide/menu_ajout.php"); BREAK;
      CASE 'aide_mod_m': REQUIRE("aide/menu_mod.php"); BREAK;

}//Fin du switch $p




    
?>
